package cc.SSM.exceptions;

/**
 * Created by rongmc on 16/5/31.
 */
public class SystemException extends RuntimeException {

    private  Long code ;

    private  String  desc ;


    public  SystemException(Long code,String desc){
        super(desc);
        this.code =code;
        this.desc = desc;
    }

    public Long getCode() {
        return code;
    }

    public void setCode(Long code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
